<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:app="http://springfuse.jaxio.com/app"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui" 
	xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:fn="http://java.sun.com/jsp/jstl/functions"
    xmlns:of="http://omnifaces.org/functions"	
	template="/WEB-INF/layouts/main.xhtml">
	<ui:define name="content">
		<p:panel header="Too many opened conversations!" rendered="#{!userContext.isFrench()}">
			<p>The maximum number of simultaneous conversations is ${conversationManager.maxConversations}.</p>
			<p>To open a new conversation you must first close at least one conversation.</p>
		</p:panel>
		<p:panel header="Trop de conversations ouvertes!" rendered="#{userContext.isFrench()}">
			<p>Le nombre maximum de conversations simultanées est ${conversationManager.maxConversations}.</p>
			<p>Avant de pouvoir ouvrir une nouvelle conversation vous devez en quitter au moins une.</p>
		</p:panel>
	</ui:define>
</ui:composition>
